package com.ruoyi.wq.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.wq.domain.WqActivityUser;
import com.ruoyi.wq.domain.vo.WqActivityUserVO;

/**
 * 活动报名Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-12
 */
public interface WqActivityUserMapper extends BaseMapper<WqActivityUser> {
    /**
     * 查询活动报名
     * 
     * @param id 活动报名主键
     * @return 活动报名
     */
    public WqActivityUser selectWqActivityUserById(String id);

    /**
     * 查询活动报名列表
     * 
     * @param wqActivityUser 活动报名
     * @return 活动报名集合
     */
    public List<WqActivityUser> selectWqActivityUserList(WqActivityUser wqActivityUser);

    /**
     * 新增活动报名
     * 
     * @param wqActivityUser 活动报名
     * @return 结果
     */
    public int insertWqActivityUser(WqActivityUser wqActivityUser);

    /**
     * 修改活动报名
     * 
     * @param wqActivityUser 活动报名
     * @return 结果
     */
    public int updateWqActivityUser(WqActivityUser wqActivityUser);

    /**
     * 删除活动报名
     * 
     * @param id 活动报名主键
     * @return 结果
     */
    public int deleteWqActivityUserById(String id);

    /**
     * 批量删除活动报名
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWqActivityUserByIds(String[] ids);

	public List<SysUser> getUserListByActivityId(String activityId);

	public int getManUserCount(String activityId);

	public IPage<WqActivityUserVO> selectPageList(IPage<WqActivityUser> page, WqActivityUser wqActivityUser);

	public IPage<WqActivityUserVO> selectPageListByActivityId(IPage<WqActivityUser> page,WqActivityUser wqActivityUser);
}
